package com.way.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.CountDownLatch;

@SpringBootApplication
public class SpringbootDemoApplication {

    public static void main(String[] args) {
     //  new  CountDownLatch();
      //  ArrayBlockingQueue();
       // SynchronousQueue
       // ReentrantLock()
        new ArrayList<>();
        new HashMap<>();
        new CountDownLatch(3);
        new CopyOnWriteArrayList();
        new ConcurrentHashMap();
       // ThreadLocal()
       // DateUtil.format()
     //   LocalDate parse = LocalDate.parse("2023-05-09");
       // LocalDate now = LocalDate.now();
       // boolean after = now.isAfter(parse);


        SpringApplication.run(SpringbootDemoApplication.class, args);
    }

}
